﻿// =================================================================== 
// 项目说明
//====================================================================
// lsc @Copy Right 2019
// 文件： BannerPollingEntity.cs
// 项目名称：斑马车务
// 创建时间：2019/10/24
// 负责人：lsc
// ===================================================================

using System;
using Dapper.Extensions;

namespace YouWei.Infrastructure.Entity
{
	/// <summary>
	///数据实体  
	/// </summary>
    [PrimaryKey("BannerID")]
	public class Banner
	{
		///<summary>
		///
		///</summary>
		public Banner()
		{
		}	
    
		
		///<summary>
		///主键
		///</summary>
        [Column("BannerID","主键")]
        public int BannerID { get; set; }

		///<summary>
		///分类 1-今日推荐 2-车趣杂谈 3-车友生活 4-丽人馆
		///</summary>
        [Column("Category","分类 1-今日推荐 2-车趣杂谈 3-车友生活 4-丽人馆")]
        public int Category { get; set; }

		///<summary>
		///图片地址
		///</summary>
        [Column("ImageUrl","图片地址")]
        public string ImageUrl { get; set; }

		///<summary>
		///链接地址
		///</summary>
        [Column("LinkUrl","链接地址")]
        public string LinkUrl { get; set; }

		///<summary>
		///描述
		///</summary>
        [Column("Description","描述")]
        public string Description { get; set; }

		///<summary>
		///创建时间
		///</summary>
        [Column("CreateTime","创建时间")]
        public DateTime CreateTime { get; set; }

		///<summary>
		///修改时间
		///</summary>
        [Column("UpdateTime","修改时间")]
        public DateTime UpdateTime { get; set; }

		///<summary>
		///逻辑删除
		///</summary>
        [Column("IsActive","逻辑删除")]
        public int IsActive { get; set; }

        ///<summary>
		///分类名
		///</summary>
        [ResultColumn("CategoryName", "分类名")]
        public string CategoryName { get; set; }

        ///<summary>
        ///图片详细地址
        ///</summary>
        [ResultColumn("CategoryName", "图片详细地址")]
        public string DetailImageUrl { get; set; }

    }
}